package com.sneakxy.cloudbase.platform.service;

import java.util.List;

import com.sneakxy.cloudbase.platform.bean.Menu;
import com.sneakxy.cloudbase.platform.bean.dto.MenuDTO;

/**
 * 
 * @author 潜行的青衣
 * @see
 */
public interface IMenuService extends IBaseService<Menu, String> {

	public List<MenuDTO> findByAccountId(String accountId, String type);
	
	public List<MenuDTO> findTreeByType(String type);
	
	public boolean hasChildren(String id);
	
	public boolean remove(String id);
	
	public void updatePermissionToNull(String permission);
	
}
